<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta property="qc:admins" content="340556612151736367" />
      <meta property="wb:webmaster" content="7acb0fd904d782ae" />
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
      <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, minimal-ui">
      <meta name="apple-mobile-web-app-capable" content="yes">
      <meta name="apple-mobile-web-app-status-bar-style" content="black" />
      <meta name="format-detection" content="telephone=no, email=no">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <!-- <link rel="stylesheet" href="http://www.jdyuewan.com/css/jdIndex.css"> -->
      <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@1.4/lib/index.css">
    <title>简单约玩</title>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <script>
    mui.init({
      keyEventBind: {
        backbutton: true //关闭back按键监听
      }
    });
    // //首页返回键处理
    // //处理逻辑：1秒内，连续两次按返回键，则退出应用；
    var first = null;
    mui.back = function() {
      //首次按键，提示 再按一次退出应用
      if (!first) {
        first = new Date().getTime();//记录第一次按下回退键的时间
        mui.toast('再按一次退出应用');//给出提示
        history.go(-1)//回退到上一页面
        setTimeout(function() {//1s中后清除
        first = null;
        }, 1000);
      } else {
        if (new Date().getTime() - first < 1000) {//如果两次按下的时间小于1s，
          plus.runtime.quit();//那么就退出app
        } 
      } 
    };
    </script>
    <!-- <script src='//kefu.easemob.com/webim/easemob.js?configId=7c188323-15d2-4f1f-bbc3-e12e25bbfab3'></script> -->
</html>
